<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <script src="../js/vue.js"></script>
</head>
<body>

    <div id ="app">
        <a href="url">点击页面跳转1</a>
        <a v-bind:href="url">点击页面跳转2</a>
        <a :href="url">点击页面跳转3</a>

        <a :href="url+ '?pid=' +pid">点击页面跳转4</a>  


    </div>    
</body>
</html>

<script>
    new  Vue({
        el:"#app",
        data:{
            list :[
                {uid:'u001',name:'贵物',age:18},
                {uid:'u002',name:'好果汁',age:19},
                {uid:'u003',name:'冰红茶',age:20}

            ],
            url: 'www.baidu.com',
            pid: 'p001'
        }
    })



</script>